/*QGraphicsItem for creating stones*/

#ifndef STONES_H
#define STONES_H

#include <QGraphicsItem>

class QRectF;
//class QRadialGradient;
//class QBrush

class Stones : public QGraphicsItem
{
public:
    Stones(int color);

    int getColor();

    QRectF boundingRect() const;
    QPainterPath shape() const;
    void paint(QPainter *painter,
               const QStyleOptionGraphicsItem *option, QWidget *widget);

private:
    int c; //pass parameter color
    QRectF *rect;
    //QRadialGradient gradient;
    //QBrush brush;
};

#endif // STONES_H
